<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>旅动足球</title>
	<meta name="viewport" content="initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">

	<link rel="stylesheet" href="https://g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
	<link rel="stylesheet" type="text/css" href="./css/reset.css?v=1.1.56">
	<link rel="stylesheet" type="text/css" href="./css/common.css?v=1.1.56">
	<link rel="stylesheet" type="text/css" href="./css/product_car.css?v=1.1.56">
	<script type='text/javascript' src='https://g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
</head>
<body>
	<div class="page">
		<header class="bar bar-nav" href="./index.html">
			<a class="icon iconfont pull-left icon-return j-return">&#xe618;</a>
			<a class="icon iconfont pull-right btn-edit" href="javascript:;">编辑</a>
			<a class="icon iconfont pull-right btn-sure" href="javascript:;">完成</a>
			<h1 class="title">购物车</h1>
		</header>
		<div class="content">
			<ul>
			</ul>
		</div>
		<div class="buy-wrap">
			<div class="total">合计金额：<span>0</span> RMB</div>
			<div class="buy j-buy">立即下单</div>
		</div>
	</div>
</body>
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
<script type="text/javascript">
	$(function () {
		/** 初始化jssdk **/
		$.ajax({
			url: HOST + '/api/jssdk/sign?url=' + location.href.split('#')[0],
			type: 'get',
			success: function (res) {
				wx.config({
					debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
					appId: 'wx3d857b42797b5eb4', // 必填，公众号的唯一标识
					timestamp: res.content.timestamp, // 必填，生成签名的时间戳
					nonceStr: res.content.nonceStr, // 必填，生成签名的随机串
					signature: res.content.signature,// 必填，签名，见附录1
					jsApiList: ['chooseWXPay'] // 必填，需要使用的JS接口列表，所有JS接口列表见附录2
				});
			},
			error: function () {
				alert('获取jssdk失败');
			}
		});
	});
</script>
<script type="text/javascript" src="./js/moment.js"></script>
<script type='text/javascript' src='https://g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript' src='https://g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
<script type="text/javascript" src="./js/pay.js"></script>
<script type="text/javascript" src="./js/common.js?v=1.1.57"></script>
<script type="text/javascript" src="./js/product_car.js?v=1.1.56"></script>
</html>
